package com.cfuture08.home.action.columns;

import com.cfuture08.eweb4j.mvc.action.ActionSupport;
import com.cfuture08.eweb4j.orm.dao.DAO;
import com.cfuture08.home.vo.Columns;

public class ShowColumns extends ActionSupport {
	private long id;

	public String execute() {
		Columns col = new Columns();
		col.setId(id);
		this.request.setAttribute("col", DAO.selectOne(col));
		return SUCCESS;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
}
